//
//  BaseWebViewController.h
//  YFZShoppingMall
//
//  Created by Coder on 16/7/5.
//  Copyright © 2016年 BJY12. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NJKWebViewProgress.h"


@interface BaseWebViewController : UIViewController<UIWebViewDelegate,UIAlertViewDelegate,NJKWebViewProgressDelegate>
{
    NSUserDefaults *userDefaults;
    NSString *url;
    UIWebView *baseWebView;
    UIWebView *loadingView;
}
@property (nonatomic,retain) NSUserDefaults *userDefaults;
@property (nonatomic,strong) NSString *defaultUrl;
@property (nonatomic,assign) bool OpenUrlInNewWeb;
@property (nonatomic,assign) bool ShowFullLoadingView;
@property (nonatomic,assign) bool AlwaysInThisWebView;
@property (nonatomic,assign) bool RefreshWhenAppear;
-(void)webViewLoadURL:(NSString *) urlString;
-(void)refleshWeb;

@end
